import './assets/main.css'
import "./common/global";
import '@/assets/index.scss'
import 'bootstrap/dist/css/bootstrap.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'virtual:svg-icons-register'
import router from "./router"
import { createApp } from 'vue'
import App from './App.vue'
import SvgIcon from '@/components/SvgIcon.vue' // SvgIcon组件
function importAll(requireContext) {
    return Object.keys(requireContext).map(key => requireContext[key].default);
}
const req = import.meta.glob('./icons/svg/*.svg', { eager: true });
importAll(req);
createApp(App).component('SvgIcon', SvgIcon).use(router).use(ElementPlus).mount('#app')
